package javabase.schoolwork.day5_28;

/**
 * @author fance
 * @date 2018/5/29 9:48
 */
public class Kids extends ManKind {
    public int yearsOld;

    public void printAge() {
        System.out.println(yearsOld);
    }

    public static void main(String[] args) {
        Kids someKid = new Kids();
        someKid.sex = 1;
        someKid.salary = 0;
        someKid.printAge();
        someKid.manOrWoman();
        someKid.employeed();
    }

    @Override
    public void employeed() {
        System.out.println("kids should study and no job");
    }
}
